package tmall.secondkill.common;

import static tmall.framework.code.CodeDefine.*;

/**
 * @author wei
 * @version 1.0.0
 * @description
 * @createTime 2022年01月23日 15:41:00
 */
public class ErrorCode {
    private static final int API_SK_BASE_CODE        = API_BASE_CODE + SK_MODULE_CODE;
    private static final int SERVICE_SK_BASE_CODE    = SERVICE_BASE_CODE + SK_MODULE_CODE;
    private static final int DAO_SK_BASE_CODE        = DAO_BASE_CODE + SK_MODULE_CODE;

    public static final int API_SK_ILLEGAL_ARGUMENT     = API_SK_BASE_CODE + 1;

    public static final int SERVICE_SK_BUSY = SERVICE_SK_BASE_CODE + 1;

    public static final int DAO_SK_EXISTED = DAO_SK_BASE_CODE + 1;
    public static final int DAO_SK_NOT_EXIST = DAO_SK_BASE_CODE + 2;
}
